package com.yuedou.api.entity.mall;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 参团详情对象 mall_group_open_detail
 *
 * @author ruoyi
 * @date 2022-11-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mall_group_open_detail")
public class MallGroupOpenDetail implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 拼团id
     */
    private Integer groupId;

    /**
     *  开团参团id
     */
    private Integer groupOpenId;

    /**
     * 参团用户id
     */
    private Integer userId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 状态  0 - 参与成功 1 - 失败 已发起退款
     */
    private Integer state;

    /**
     * 参团时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    private String refundOutTradeNo;
    private Integer refundStatus;
    private Date refundTime;
    private String refundRespParam;
    private String refundErrCode;


    @TableField(exist = false)
    private String nickName;

    @TableField(exist = false)
    private String faceUrl;


}
